package cn.datax.service.data.market.dao;

import cn.datax.common.base.BaseDao;
import cn.datax.service.data.market.api.entity.ApiWarnRuleEntity;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

public interface ApiWarnRuleDao  extends BaseDao<ApiWarnRuleEntity> {

    @Override
    ApiWarnRuleEntity selectById(Serializable id);

    @Override
    <E extends IPage<ApiWarnRuleEntity>> E selectPage(E page, @Param(Constants.WRAPPER) Wrapper<ApiWarnRuleEntity> queryWrapper);
}
